package cn.itcast.domain.cargo;

import java.io.Serializable;
import java.util.Date;

public class Finance implements Serializable {
    private String financeId;    //财务报运单ID
    private Date inputeDate;     //制单时间
    private String invoiceId;    //发票号
    private Double invoiceMoney;     // 发票金额
    private Date invoiceTime;        // 发票时间
    private String exportNos;        //报运合同号
    private String shipmentPort;     //装运港
    private String destinationPort;  //目的港
    private String consignee;        //收货人
    private String createBy;         //创建人
    private String companyId;        //企业id
    private String companyName;      //企业名称
    private String createDept;       //创建部门

    public String getFinanceId() {
        return financeId;
    }

    public void setFinanceId(String financeId) {
        this.financeId = financeId == null ? null : financeId.trim();
    }

    public Date getInputeDate() {
        return inputeDate;
    }

    public void setInputeDate(Date inputeDate) {
        this.inputeDate = inputeDate;
    }

    public String getInvoiceId() {
        return invoiceId;
    }

    public void setInvoiceId(String invoiceId) {
        this.invoiceId = invoiceId == null ? null : invoiceId.trim();
    }

    public Double getInvoiceMoney() {
        return invoiceMoney;
    }

    public void setInvoiceMoney(Double invoiceMoney) {
        this.invoiceMoney = invoiceMoney;
    }

    public Date getInvoiceTime() {
        return invoiceTime;
    }

    public void setInvoiceTime(Date invoiceTime) {
        this.invoiceTime = invoiceTime;
    }

    public String getExportNos() {
        return exportNos;
    }

    public void setExportNos(String exportNos) {
        this.exportNos = exportNos == null ? null : exportNos.trim();
    }

    public String getShipmentPort() {
        return shipmentPort;
    }

    public void setShipmentPort(String shipmentPort) {
        this.shipmentPort = shipmentPort == null ? null : shipmentPort.trim();
    }

    public String getDestinationPort() {
        return destinationPort;
    }

    public void setDestinationPort(String destinationPort) {
        this.destinationPort = destinationPort == null ? null : destinationPort.trim();
    }

    public String getConsignee() {
        return consignee;
    }

    public void setConsignee(String consignee) {
        this.consignee = consignee == null ? null : consignee.trim();
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId == null ? null : companyId.trim();
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName == null ? null : companyName.trim();
    }

    public String getCreateDept() {
        return createDept;
    }

    public void setCreateDept(String createDept) {
        this.createDept = createDept == null ? null : createDept.trim();
    }

    @Override
    public String toString() {
        return "Finance{" +
                "financeId='" + financeId + '\'' +
                ", inputeDate=" + inputeDate +
                ", invoiceId='" + invoiceId + '\'' +
                ", invoiceMoney=" + invoiceMoney +
                ", invoiceTime=" + invoiceTime +
                ", exportNos='" + exportNos + '\'' +
                ", shipmentPort='" + shipmentPort + '\'' +
                ", destinationPort='" + destinationPort + '\'' +
                ", consignee='" + consignee + '\'' +
                ", createBy='" + createBy + '\'' +
                ", companyId='" + companyId + '\'' +
                ", companyName='" + companyName + '\'' +
                ", createDept='" + createDept + '\'' +
                '}';
    }
}
